

package com.maoshi.shop.seckill.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author LGH
 */
@Data
public class SeckillSkuDto {

    @ApiModelProperty(value = "秒杀sku拥有的库存", required = true)
    private Integer seckillStocks;

    @ApiModelProperty(value = "秒杀价格", required = true)
    private Double seckillPrice;

    @ApiModelProperty(value = "商品名称", required = true)
    private String prodName;

    @ApiModelProperty(value = "销售属性组合字符串,格式是p1:v1;p2:v2", required = true)
    private String properties;

    /**
     * 秒杀活动单个skuid
     */
    @ApiModelProperty(value = "秒杀活动单个skuid", required = true)
    private Long seckillSkuId;
    /**
     * skuId
     */
    @ApiModelProperty(value = "skuId", required = true)
    private Long skuId;
    /**
     * 秒杀活动id
     */
    @ApiModelProperty(value = "秒杀活动id", required = true)
    private Long seckillId;
}
